<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
    <title>AWS SDK for OpenResty</title>
    <link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>

<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->


<div id="main">


<!-- Menu -->

<div id="navigation">
<br/>
<h1>lua-resty-aws</h1>


<ul>
  <li><a href="../index.html">Index</a></li>
</ul>

<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
</ul>


<h2>Classes</h2>
<ul class="nowrap">
  <li><a href="../classes/AWS.html">AWS</a></li>
  <li><a href="../classes/ChainableTemporaryCredentials.html">ChainableTemporaryCredentials</a></li>
  <li><strong>CredentialProviderChain</strong></li>
  <li><a href="../classes/Credentials.html">Credentials</a></li>
  <li><a href="../classes/EC2MetadataCredentials.html">EC2MetadataCredentials</a></li>
  <li><a href="../classes/EnvironmentCredentials.html">EnvironmentCredentials</a></li>
  <li><a href="../classes/RemoteCredentials.html">RemoteCredentials</a></li>
  <li><a href="../classes/SharedFileCredentials.html">SharedFileCredentials</a></li>
  <li><a href="../classes/TokenFileWebIdentityCredentials.html">TokenFileWebIdentityCredentials</a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
  <li><a href="../modules/resty.aws.config.html">resty.aws.config</a></li>
  <li><a href="../modules/resty.aws.service.rds.signer.html">resty.aws.service.rds.signer</a></li>
  <li><a href="../modules/resty.aws.utils.html">resty.aws.utils</a></li>
</ul>
<h2>Topics</h2>
<ul class="">
  <li><a href="../topics/README.md.html">README</a></li>
</ul>

</div>

<div id="content">

<h1>Class <code>CredentialProviderChain</code></h1>
<p>CredentialProviderChain class.</p>
<p>

</p>


<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
	<tr>
	<td class="name" nowrap><a href="#aws:CredentialProviderChain">aws:CredentialProviderChain (opt)</a></td>
	<td class="summary">Constructor, inherits from <a href="../classes/Credentials.html#">Credentials</a>.</td>
	</tr>
</table>

<br/>
<br/>


    <h2 class="section-header "><a name="Functions"></a>Functions</h2>

    <dl class="function">
    <dt>
    <a name = "aws:CredentialProviderChain"></a>
    <strong>aws:CredentialProviderChain (opt)</strong>
    </dt>
    <dd>

<p>Constructor, inherits from <a href="../classes/Credentials.html#">Credentials</a>. </p>

<p> The <code>providers</code> array defaults to the following list (in order, not all implemented):</p>

<ol>
    <li><p><a href="../classes/EnvironmentCredentials.html#">EnvironmentCredentials</a>; envPrefix = 'AWS'</p></li>
    <li><p><a href="../classes/EnvironmentCredentials.html#">EnvironmentCredentials</a>; envPrefix = 'AMAZON'</p></li>
    <li><p><code>SharedIniFileCredentials</code></p></li>
    <li><p><a href="../classes/RemoteCredentials.html#">RemoteCredentials</a></p></li>
    <li><p><code>ProcessCredentials</code></p></li>
    <li><p><a href="../classes/TokenFileWebIdentityCredentials.html#">TokenFileWebIdentityCredentials</a></p></li>
    <li><p><a href="../classes/EC2MetadataCredentials.html#">EC2MetadataCredentials</a> (only if <code>AWS_EC2_METADATA_DISABLED</code> hasn't been set to <code>true</code>)</p></li>
</ol>




    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">opt</span> options table, additional fields to the <a href="../classes/Credentials.html#">Credentials</a> class:
        <ul>
        <li><span class="parameter">providers</span>
         array of <a href="../classes/Credentials.html#">Credentials</a> objects or functions (functions must return a <a href="../classes/Credentials.html#">Credentials</a> object)
        </li>
        </li></ul>
    </ul>





</dd>
</dl>


</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-08-02 07:27:49 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
